package light.head.model;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 登陆记录
 * @author Administrator
 *
 */
@Entity
@Table
public class LoginRecord implements Serializable{

	private static final long serialVersionUID = 1L;
	
	
	private Integer code;						// 流水号
	private Date lt;							// 登陆时间
	private Date dt;							// 下线时间
	private Integer oc;							// 机构编号
	private Integer uc;							// 登陆人编号
	
	
	


	
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	@Column
	public Integer getCode() {
		return code;
	}
	@Column
	public Date getLt() {
		return lt;
	}
	@Column
	public Date getDt() {
		return dt;
	}
	@Column
	public Integer getOc() {
		return oc;
	}
	@Column
	public Integer getUc() {
		return uc;
	}
	
	
	
	
	
	
	
	
	
	public void setUc(Integer uc) {
		this.uc = uc;
	}
	public void setOc(Integer oc) {
		this.oc = oc;
	}
	public void setCode(Integer code) {
		this.code = code;
	}
	public void setLt(Date lt) {
		this.lt = lt;
	}
	public void setDt(Date dt) {
		this.dt = dt;
	}
	
}
